{extend name="base" /}

{block name="title"}激活码审核{/block}

{block name="main"}
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>激活码审核 <small>英雄联盟</small></h1>
			<ol class="breadcrumb">
				<li><a href="/shuashuale"><i class="fa fa-home"></i> 首页</a></li>
				<li><a href="/shuashuale/user/activation/check"> 财务管理</a></li>
				<li class="active">激活码审核</li>
			</ol>
		</section>
		
		<section class="content container-fluid">
			<div class="box">
				<div class="box-header with-border">
					<h3 class="box-title">激活码审核</h3>
				</div>
				<!-- /.box-header -->
				<div class="box-body table-responsive no-padding">
					<table class="table table-bordered">
						<tr>
							<th>编号</th>
							<th>用户</th>
							<th>金额</th>
							<th>时间</th>
							<th>备注</th>
							<th>状态</th>
							<th>操作</th>
						</tr>
						{volist name='userActivationLogs' id='userActivationLog'}
						<tr>
							<td>{$userActivationLog.user_activation_log_id}</td>
							<td>{$userActivationLog.to_user_name}</td>
							<td>{$userActivationLog.price}</td>
							<td>{$userActivationLog.create_time}</td>
							<td>{$userActivationLog.remark}</td>
							<td>{$userActivationLog.type}</td>
							<td>
								{eq name="userActivationLog->getData('is_state')" value="0"}
								<a class="btn btn-danger btn-xs btn-flat" href="/shuashuale/user/activation/handleCheck?user_activation_log_id={$userActivationLog.user_activation_log_id}" onClick="return confirm('是否已经收款？')">审核</a>
								{else/}
								已审核
								{/eq}
							</td>
						</tr>
						{/volist}
					</table>
				</div>
				<div class="box-footer clearfix">
					{$userActivationLogs -> render()}
				</div>
			</div>
		</section>
	</div>
{/block}